package com.itheima.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.goods.pojo.Brand;
import com.itheima.goods.pojo.Category;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CategoryMapper extends BaseMapper<Category> {

    @Select("select * from tb_category")
    List<Category> findAll();

}
